package org.dromara.oce.domain.bo;

import org.dromara.oce.domain.OceProductStore;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.io.Serializable;
/**
 * 商品库业务对象 oce_product_store
 *
 * @author dsbb
 * @date 2025-06-09
 */
@Data
@EqualsAndHashCode()
@AutoMapper(target = OceProductStore.class, reverseConvertGenerate = false)
public class OceProductStoreBo implements Serializable {

    /**
     * 商品库ID
     */
    @NotNull(message = "商品库ID不能为空", groups = { EditGroup.class })
    private Long platformId;

    /**
     * 管家账号id
     */
    @NotNull(message = "管家账号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long accountId;

    /**
     * 广告主id
     */
    @NotNull(message = "广告主id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long advertiserId;

    /**
     * 商品库名称
     */
    @NotBlank(message = "商品库名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 商品库行业类别
     */
    private String productIndustry;


}
